<script setup lang="ts">
import type { FormDesignerComponents } from "../FormComponentMixin";
import CommonConfig from "./CommonConfig.vue";

const config = defineModel<FormDesignerComponents>("config");
</script>

<template>
  <CommonConfig v-model:config="config" />
  <el-form-item label="显示边框">
    <el-switch v-model="config.props.showBorder" />
  </el-form-item>
  <el-form-item label="最大高度">
    <el-input-number v-model="config.props.height" placeholder="请设置表格最大高度" />
  </el-form-item>
</template>

<style lang="scss" scoped></style>
